'Declaration Public Overloads Shared Function CreateConditionalCommand<TTargetThe type of the target.>( _
ByVal conditionThe condition.As Vintasoft.Imaging.Processing.Analyzers.PredicateAnalyzer(Of TTarget), _
ByVal ifBranchThe "if" branch.As ProcessingCommand(Of TTarget), _
ByVal elseBranchThe "else" branch.As ProcessingCommand(Of TTarget) _
) As ConditionalCommand(Of TTarget) (Of TTargetThe type of the target.)
public static ConditionalCommand<TTarget> CreateConditionalCommand<TTarget>(
Vintasoft.Imaging.Processing.Analyzers.PredicateAnalyzer<TTarget> condition,
ProcessingCommand<TTarget> ifBranch,
ProcessingCommand<TTarget> elseBranch
)
public: static ConditionalCommand<TTarget*>* CreateConditionalCommand<TTarget>(
Vintasoft.Imaging.Processing.Analyzers.PredicateAnalyzer<TTarget*>* condition,
ProcessingCommand<TTarget*>* ifBranch,
ProcessingCommand<TTarget*>* elseBranch
)
generic<typename TTarget> public:
static ConditionalCommand<TTarget^>^ CreateConditionalCommand(
Vintasoft.Imaging.Processing.Analyzers.PredicateAnalyzer<TTarget^>^ condition,
ProcessingCommand<TTarget^>^ ifBranch,
ProcessingCommand<TTarget^>^ elseBranch
)
Parameters
- condition
- The condition.
- ifBranch
- The "if" branch.
- elseBranch
- The "else" branch.
Type Parameters
- TTarget
- The type of the target.
Return Value
New instance of ConditionalCommand<TTarget> class.